From: Marco Trevisan (TreviƱo) Date: Tue, 9 Apr 2019 23:25:20 +0000 (-0500) Subject: iconGrid: Remove this.actor definition to BaseIcon X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~845^2^2~266 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ad491e792258396f20146f09de20c10f4fbc4a69;p=gnome-shell.git iconGrid: Remove this.actor definition to BaseIcon Remove this.actor = actor, since the class is now an actor itself. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/487 --- diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js index d51a443e8..fea6970dd 100644 --- a/js/ui/iconGrid.js +++ b/js/ui/iconGrid.js @@ -43,8 +43,6 @@ class BaseIcon extends St.Bin { x_fill: true, y_fill: true }); - this.actor = this; - this.connect('destroy', this._onDestroy.bind(this)); this._box = new St.BoxLayout({ vertical: true }); @@ -188,8 +186,6 @@ var IconGrid = GObject.registerClass({ super._init({ style_class: 'icon-grid', y_align: Clutter.ActorAlign.START }); - this.actor = this; - params = Params.parse(params, { rowLimit: null, columnLimit: null, minRows: 1,